import re
# This is just a quick example to assert how regexps work.

reg1 = '.*\.png'
test1 = 'http://toto.png'

comp1 = re.compile(reg1)

if comp1.match(test1):
    print "Matches!"
else:
    print "Doesn't match"
    
    
reg2 = '.*\\.png'
test2 = 'http://toto.png'

comp2 = re.compile(reg1)

if comp2.match(test2):
    print "Matches!"
else:
    print "Doesn't match"


